<?php 

	$conn = new PDO("mysql:host=192.168.190.91;dbname=filter_words", "root", "123456") or die(mysql_error());
	//$conn = new PDO("mysql:host=192.168.190.11;dbname=reuri", "root", "123qwe") or die(mysql_error());
	$sql = "select word from words";
	//$sql = "select 1";
	$res = $conn->query($sql);
	$rs = $res->fetchAll();
	print_r($rs);
	/*var_dump($res);
		foreach ($conn->query($sql) as $row) {
		//print $row['id'] . "\t";
		print $row['word'] . "\t";
		// print $row['transurl'] . "\n";
    }

	var_dump($conn->errorInfo());
	//echo $conn->errorInfo();
//	var_dump($res);
///	var_dump($conn);
